
$(function () {
    // debugger;
    UE.delEditor('container');
    var ue = UE.getEditor('container',{
        toolbars:[
            [   'source', 'undo', 'redo', 'bold', 'italic',
                'underline','fontborder', 'backcolor', 'fontsize',
                'justifyleft', 'justifyright','justifycenter', 'justifyjustify',
                'strikethrough','superscript', 'subscript', 'removeformat',
                'formatmatch','autotypeset', 'blockquote', 'pasteplain', '|',
                'forecolor', 'backcolor','insertorderedlist', 'insertunorderedlist',
                'selectall', 'cleardoc', 'link', 'unlink','emotion', 'help']
        ],
        initialFrameHeight: 300,
        initialFrameWeight: 100
    });
});

// ue.addListener("ready", function() {
//     var content;
//     $.ajax({
//         url: "",
//         success: function(json) {
//             //content = json.data.content;
//             UE.getEditor('editor').setContent(content);
//         }
//     });
// });